package com.danbay.cloud.device.api.service;

import com.danbay.cloud.device.api.dto.ResponseObject;
import com.danbay.framework.exception.BusinessException;
import com.danbay.framework.springnc.annotation.AutoController;
import com.danbay.framework.springnc.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author yangyanchen on 2018/1/15
 *         Copyright © 2016 －2017 旦倍科技
 */
@AutoController
@RequestMapping(value = "/device-service/deviceInfo")
public interface IDeviceOfflineDataService {

    @RequestMapping(value = "/getOfflineDeviceDetail",method = RequestMethod.POST)
    ResponseObject getOfflineDeviceDetail(@RequestParam("homeAddress") String homeAddress) throws BusinessException;
}
